<div id="registration">
	<?php echo $this->Form->create('Hoso', array('inputDefaults' => array('error' => false),'id'=>'PhanXuLy')); ?>
	<div class="title">Phân xử lý hồ sơ</div>
	<div id="generalInfo">
		<p>
			<span class="title">Thủ tục hành chính</span>
			<span><input disabled="true" value="<?php echo $hoso['Tthc']['ten']?>" size="80"/></span>
		</p>
		<p>
			<span class="title">Họ tên</span>
			<span><input disabled="true" value="<?php echo $hoso['Hoso']['ten'];?>" size="20"/></span>
		</p>
		<p>
			<span class="title">Số CMND</span>
			<span><input disabled="true" value="<?php echo $hoso['Hoso']['so_cmt'];?>"/></span>
			<span class="title2">Ngày Cấp</span></span>
			<span><input disabled="true" value="<?php echo $this->Time->format('d/m/Y', $hoso['Hoso']['ngay_cap']);?>"/></span>
			<span class="title2">Nơi Cấp</span>
			<span><input disabled="true" value="<?php echo $thanhPhos[$hoso['Hoso']['noi_cap']];?>"/></span>
		</p>
		<p>
			<span class="title">Số điện thoại</span>
			<span><input disabled="true" value="<?php echo $hoso['Hoso']['mobile'];?>"/></span>
			<span class="title2">Địa chỉ</span>
			<span><input disabled="true" value="<?php echo $hoso['Hoso']['dia_chi'];?>"/></span>
		</p>
		<p>
			<span class="title">Người xử lý</span>
			<span><?php echo $this->Form->input('nguoi_xuly_id', array('type'=>'select', 'div' => false,'label'=> false, 'options'=> $users, 'selected'=>$hoso['Hoso']['nguoi_xuly_id'] ));?> 
			</span>
		</p>
		<p>
			<span class="title">Người kiểm duyệt</span>
			<span><?php echo $this->Form->input('nguoi_kiemduyet_id', array('type'=>'select', 'div' => false,'label'=> false, 'options'=> $users, 'selected'=>$hoso['Hoso']['nguoi_kiemduyet_id'] ));?>
			</span>
		</p>
		<p>
			<span class="title">Người ký</span>
			<span><?php echo $this->Form->input('nguoi_ky_id', array('type'=>'select', 'div' => false,'label'=> false, 'options'=> $users, 'selected'=>$hoso['Hoso']['nguoi_ky_id'] ));?>
			</span>
		</p>
	</div>
	<hr style="color: #1F7BC3;" />
	<div id="buttons">
		<button class="button blue" id="duyet">Phân Xử Lý</button>
		<button class="button blue" id="back">Thoát</button>
		<div class="clear"></div>
	</div>
    <input type="hidden" name="data[Hoso][id]" value="<?php echo $hoso['Hoso']['id'];?>"/> 
	<?php echo $this->Form->end();?>
</div>
<script type="text/javascript">
	var form = $("#PhanXuLy");
	$(document).ready(function (){
		$("#duyet").click(function () {submit('phanXuLy',form);});
		$("#back").click(function () {submit('back',form);});
	});
</script>